﻿using ReactiveUI;
using SCTO.Center;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace testapp.ViewModels
{
    public class FileInfoViewModel : ViewModelBase
    {
        private string fileName;
        private string date;
        private string fileSize;

        public FileInfoViewModel()
        {
            fileName = "test.txt";
            date = "2021年07月23日";
            fileSize = "0.1KB";
        }

        public string FileName
        {
            get => fileName;
            set => this.RaiseAndSetIfChanged(ref fileName, value);
        }

        public string Date
        {
            get => date;
            set => this.RaiseAndSetIfChanged(ref date, value);
        }

        public string FileSize
        {
            get => fileSize;
            set => this.RaiseAndSetIfChanged(ref fileSize, value);
        }

    }
}
